package Yanxin.atguigu.yx.common;

public class Constant {

    //kafka集群端口号
    public static final String KAFKA_BROKERS = "hadoop102:9092,hadoop103:9092,hadoop104:9092";

    //phoenix连接端口号
    public static final String PHOENIX_DRIVER = "org.apache.phoenix.jdbc.PhoenixDriver";
    public static final String PHOENIX_URL = "jdbc:phoenix:hadoop102,hadoop103,hadoop104:2181";

    //doris端口号
    public static final String DORIS_HOST = "hadoop102:7030";

    //ods
    public static final String TOPIC_ODS_DB = "ods_db" ;
    public static final String TOPIC_ODS_LOG = "ods_log" ;

    //dwd 原始数据分流
    public static final String TOPIC_DWD_TRAFFIC_START ="dwd_traffic_start";
    public static final String TOPIC_DWD_TRAFFIC_DISPLAY ="dwd_traffic_display";
    public static final String TOPIC_DWD_TRAFFIC_ACTION ="dwd_traffic_action";
    public static final String TOPIC_DWD_TRAFFIC_ERR ="dwd_traffic_err";
    public static final String TOPIC_DWD_TRAFFIC_PAGE ="dwd_traffic_page";
    public static final String TOPIC_DWD_TRAFFIC_APPVIDEO = "dwd_traffic_appvideo";

    //dwd 事实表数据
    public static final String TOPIC_DWD_TRAFFIC_UV_DETAIL ="dwd_traffic_uv_detail";
    public static final String TOPIC_DWD_TRAFFIC_UJ_DETAIL = "dwd_traffic_uj_detail";
    public static final String TOPIC_DWD_TRADE_CART_ADD ="dwd_trade_cart_add" ;
    public static final String TOPIC_DWD_TRADE_ORDER_PRE_PROCESS ="dwd_trade_order_pre_process" ;
    public static final String TOPIC_DWD_TRADE_ORDER_DETAIL = "dwd_trade_order_detail";
    public static final String TOPIC_DWD_TRADE_CANCEL_DETAIL = "dwd_trade_cancel_detail";
    public static final String TOPIC_DWD_TRADE_PAY_DETAIL_SUC = "dwd_trade_pay_detail_suc";
    public static final String TOPIC_DWD_TRADE_ORDER_REFUND ="dwd_trade_order_refund" ;
    public static final String TOPIC_DWD_TRADE_REFUND_PAY_SUC = "dwd_trade_refund_pay_suc";
    public static final String TOPIC_DWD_TOOL_COUPON_GET = "dwd_tool_coupon_get";
    public static final String TOPIC_DWD_TOOL_COUPON_USING = "dwd_tool_coupon_Using";
    public static final String TOPIC_DWD_TOOL_COUPON_USED = "dwd_tool_coupon_Used";
    public static final String TOPIC_DWD_INTERACTION_FAVOUR_ADD = "dwd_interaction_favour_add";
    public static final String TOPIC_DWD_INTERACTION_COMMENT = "dwd_interaction_comment";
    public static final String TOPIC_DWD_USER_REGISTER = "dwd_user_register";


    //补充的常量
    public static final int TWO_DAY_SECOND = 2 * 24 * 60 * 60;

}
